package org.example.test.service;

import org.example.test.model.CategoryModel;

import java.util.List;

public interface CategoriesService {
    CategoryModel getCategoryById(Long id);
    List<CategoryModel> getAllCategories();
    void createCategory(CategoryModel category);
    void updateCategory(CategoryModel category);
    void deleteCategory(Long id);
}
